package com.jluzh.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author EvanHuang
 * @date 11/6/2018 9:30 AM
 * @since
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class AjaxResult {
    private boolean success;//请求是否执行成功
    private String msg;//本次请求的消息
    private Object data;//本次请求可能携带的内容对象
    private int code;//如果出现异常，code代表异常类型码
}
